#!/usr/bin/env python
# -*- coding: utf-8 -*-


def test1():
    s1 = 'Hello world!'
    s2 = "Hello world!"
    s3 = '''Hello world!'''
    s4 = """Hello world!"""
    print(s1)
    print(s2)
    print(s3)
    print(s4)


def test2():
    s5 = 'The is a "'
    s6 = "The is a '"
    print(s5)
    print(s6)


def test3():
    s7 = 'The is a \''
    s8 = "The is a \""
    print(s7)
    print(s8)


def test4():
    s1 = '''
    The first wealth is health, 
    Believe in yourself!
    '''
    print(s1)

    s2 = """
    健康是人生第一财富,
    相信你自己!
    """
    print(s2)


def test5():
    s1 = 'abc123'
    b1 = s1.encode('UTF-8')
    print(s1)
    print(len(s1), type(s1))
    print(b1)
    print(len(b1), type(b1))

    s2 = '我是中国人ab12'
    b2 = s2.encode('UTF-8')
    print(s2)
    print(len(s2), type(s2))
    print(b2)
    print(len(b2), type(b2))


def main():
    test1()
    test2()
    test3()
    test4()
    test5()


if __name__ == '__main__':
    main()
